package pprg.mergesort;

public class MergeSortWorker implements Runnable {
	private int[] a;
	boolean parallel;
	
	public MergeSortWorker(int[] a, boolean parallel) {
		this.a = a;
		this.parallel = parallel;
	}
	
	public void run() {
		MergeSort.parallelMergeSort(a, parallel);
	}
}